package com.dk.page;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor//有参构造
@NoArgsConstructor//无参构造
public class PageResult<T> {
    private Integer pageSize;

    private Integer pageNum;

    private Long total;

    private List<T> list;
}
